package cn.tedu.eguser.pojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Size;
import lombok.Data;
import lombok.extern.slf4j.Slf4j;

@Data
@Slf4j
public class UserAddParam {
    @Size(min = 6,max = 12,message = "用户名长度必须在6~12之间")
    @Schema(description = "用户名",required = true)
    private String username;
    @Schema(description = "密码",required = true)
    private String password;
    @Schema(description = "昵称",required = true)
    private String nickname;
}
